package bookmanage.Opreation;

import bookmanage.BookDao;

import java.util.Scanner;

public class ReturnOperation implements IOperation{
    @Override
    public void work() {
        Scanner scanner = new Scanner(System.in);
        BookDao bookDao = new BookDao();
        System.out.println("请输入所要归还书籍ID：");
        int bookId = scanner.nextInt();
        boolean returnOpera = bookDao.returnBook(bookId);
    }
}
